home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!csmltd.demon.co.uk
- From: Martyn Read <Martyn@csmltd.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Newbie Question - Probably Dumb as well
- Date: Thu, 18 Jan 1996 13:41:30
- Organization: Myorganisation
- Message-ID: <194990319wnr@csmltd.demon.co.uk>
- Reply-To: Martyn@csmltd.demon.co.uk
- X-NNTP-Posting-Host: csmltd.demon.co.uk
- X-Newsreader: Newswin Alpha 0.9
- X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!csmltd.demon.co.uk
-
- Hello,
- Apologies if this is a dumb question but:
- I have a comma delimited file like
-
- 999,"AAAAAAAAAA AAAAAAAAA",999,999,999,"AA"
- Int, String ,Int,Int,Int,String
-
- where all strings in the file have double quotes.
-
- Can I read the file into a struct using fscanf to ignore the double
- quotes as well as the commas?
-
- If not, what is the recommended method(as per the experts)?
-
- Many thanks in advance,
- Please e-mail direct as I'm sure this is of little interest to the
- gurus.
-
- I am teaching myself C (Very slowly at present but getting there)
-
- Regards,
- Martyn
-
- --
- Martyn Read
-
-